package cn.edu.nks.dormitory.model;

import java.util.Date;
/**
 * 用户
 * @author wangbs
 *
 */
public class UserInfo {
	private int userId;
	private int roleId;// 1.寝管部门 2.学生 3.宿管4.老师
	private String userName;
	private String passWord;
	private String realName;
	private String userCode;//用户对应唯一key值
	private String email;
	private String telephone;
	private String jsons;
	private Date time;
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getJsons() {
		return jsons;
	}
	public void setJsons(String jsons) {
		this.jsons = jsons;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	@Override
	public String toString() {
		return "User [userId=" + userId + ", roleId=" + roleId + ", userName="
				+ userName + ", passWord=" + passWord + ", realName="
				+ realName + ", userCode=" + userCode + ", email=" + email
				+ ", telephone=" + telephone + ", jsons=" + jsons + ", time="
				+ time + "]";
	}
	
}
